<%layout("/common/g_layout.html"){%>


<div class="container gr">
    <div class="row gr-title">
        <h2>申请创建小组</h2>
    </div>
    <div class="row gr-creaForm">
        <form action="/group/addGroup" method="POST" class="form-horizontal" enctype="multipart/form-data">
            <div class="form-group gr-control">
                <label class="col-md-2 lab-odd">小组名称</label>
                <div class="col-md-6">
                    <input type="text" name="name">
                </div>
            </div>
            <div class="form-group gr-control">
                <label class="col-md-2 lab-even">小组类别</label>
                <div class="col-md-6">
                    <select name="type">
                        <option value="1">足球</option>
                        <option value="2">动漫</option>
                        <option value="3">电影</option>
                    </select>
                </div>
            </div>
            <div class="form-group gr-lcontrol">
                <label for="" class="col-md-2 lab-odd">小组权限</label>
                <div class="col-md-6 limit-radio">
                    <div class="radio">
                        <label>
                            <input type="radio" name="permissions" value="1" checked>
                            任何人都可以加入
                        </label>
                    </div>
                    <div class="radio">
                        <label>
                            <input type="radio" name="permissions" value="2">
                            只有批准才能加入
                        </label>
                    </div>
                </div>
            </div>
            <div class="form-group gr-control">
                <label class="col-md-2 lab-even">上传小组头像</label>
                <div class="col-md-6">
                    <input type="file" name="file">
                </div>
            </div>
            <div class="form-group gr-control">
                <label for="" class="col-md-2 lab-even">小组描述</label>
                <div class="col-md-6">
                    <textarea name="description"></textarea>
                </div>
            </div>
            <div class="form-group">
                <div class="col-md-offset-2 col-md-10">
                    <input type="submit" class="btn btn-info bt-create" disabled="disabled" value="确定并创建">
                </div>
            </div>
        </form>
    </div>
</div>

<script src="/group/js/scripts/jquery-2.1.1.min.js"></script>
<script src="${ctxPath}/group/js/scripts/nav.js"></script>
<script src="${ctxPath}/group/js/scripts/formVail.js"></script>


<%}%>